Integrand size = 28, antiderivative size = 780 \[ \int \frac {(e+f x)^3 \text {sech}^2(c+d x)}{a+b \sinh (c+d x)} \, dx=\frac {a (e+f x)^3}{\left (a^2+b^2\right ) d}-\frac {6 b f (e+f x)^2 \arctan \left (e^{c+d x}\right )}{\left (a^2+b^2\right ) d^2}+\frac {b^2 (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d}-\frac {b^2 (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d}-\frac {3 a f (e+f x)^2 \log \left (1+e^{2 (c+d x)}\right )}{\left (a^2+b^2\right ) d^2}+\frac {6 i b f^2 (e+f x) \operatorname {PolyLog}\left (2,-i e^{c+d x}\right )}{\left (a^2+b^2\right ) d^3}-\frac {6 i b f^2 (e+f x) \operatorname {PolyLog}\left (2,i e^{c+d x}\right )}{\left (a^2+b^2\right ) d^3}+\frac {3 b^2 f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d^2}-\frac {3 b^2 f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d^2}-\frac {3 a f^2 (e+f x) \operatorname {PolyLog}\left (2,-e^{2 (c+d x)}\right )}{\left (a^2+b^2\right ) d^3}-\frac {6 i b f^3 \operatorname {PolyLog}\left (3,-i e^{c+d x}\right )}{\left (a^2+b^2\right ) d^4}+\frac {6 i b f^3 \operatorname {PolyLog}\left (3,i e^{c+d x}\right )}{\left (a^2+b^2\right ) d^4}-\frac {6 b^2 f^2 (e+f x) \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d^3}+\frac {6 b^2 f^2 (e+f x) \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d^3}+\frac {3 a f^3 \operatorname {PolyLog}\left (3,-e^{2 (c+d x)}\right )}{2 \left (a^2+b^2\right ) d^4}+\frac {6 b^2 f^3 \operatorname {PolyLog}\left (4,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d^4}-\frac {6 b^2 f^3 \operatorname {PolyLog}\left (4,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d^4}+\frac {b (e+f x)^3 \text {sech}(c+d x)}{\left (a^2+b^2\right ) d}+\frac {a (e+f x)^3 \tanh (c+d x)}{\left (a^2+b^2\right ) d} \]
[Out]
Time = 1.18 (sec) , antiderivative size = 780, normalized size of antiderivative = 1.00, number of steps used = 29, number of rules used = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.464, Rules used = {5692, 3403, 2296, 2221, 2611, 6744, 2320, 6724, 6874, 4269, 3799, 5559, 4265} \[ \int \frac {(e+f x)^3 \text {sech}^2(c+d x)}{a+b \sinh (c+d x)} \, dx=-\frac {6 b f (e+f x)^2 \arctan \left (e^{c+d x}\right )}{d^2 \left (a^2+b^2\right )}-\frac {6 i b f^3 \operatorname {PolyLog}\left (3,-i e^{c+d x}\right )}{d^4 \left (a^2+b^2\right )}+\frac {6 i b f^3 \operatorname {PolyLog}\left (3,i e^{c+d x}\right )}{d^4 \left (a^2+b^2\right )}+\frac {3 a f^3 \operatorname {PolyLog}\left (3,-e^{2 (c+d x)}\right )}{2 d^4 \left (a^2+b^2\right )}+\frac {6 b^2 f^3 \operatorname {PolyLog}\left (4,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{d^4 \left (a^2+b^2\right )^{3/2}}-\frac {6 b^2 f^3 \operatorname {PolyLog}\left (4,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{d^4 \left (a^2+b^2\right )^{3/2}}+\frac {6 i b f^2 (e+f x) \operatorname {PolyLog}\left (2,-i e^{c+d x}\right )}{d^3 \left (a^2+b^2\right )}-\frac {6 i b f^2 (e+f x) \operatorname {PolyLog}\left (2,i e^{c+d x}\right )}{d^3 \left (a^2+b^2\right )}-\frac {3 a f^2 (e+f x) \operatorname {PolyLog}\left (2,-e^{2 (c+d x)}\right )}{d^3 \left (a^2+b^2\right )}-\frac {6 b^2 f^2 (e+f x) \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{d^3 \left (a^2+b^2\right )^{3/2}}+\frac {6 b^2 f^2 (e+f x) \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{d^3 \left (a^2+b^2\right )^{3/2}}+\frac {3 b^2 f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{d^2 \left (a^2+b^2\right )^{3/2}}-\frac {3 b^2 f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{d^2 \left (a^2+b^2\right )^{3/2}}-\frac {3 a f (e+f x)^2 \log \left (e^{2 (c+d x)}+1\right )}{d^2 \left (a^2+b^2\right )}+\frac {b^2 (e+f x)^3 \log \left (\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}+1\right )}{d \left (a^2+b^2\right )^{3/2}}-\frac {b^2 (e+f x)^3 \log \left (\frac {b e^{c+d x}}{\sqrt {a^2+b^2}+a}+1\right )}{d \left (a^2+b^2\right )^{3/2}}+\frac {a (e+f x)^3 \tanh (c+d x)}{d \left (a^2+b^2\right )}+\frac {b (e+f x)^3 \text {sech}(c+d x)}{d \left (a^2+b^2\right )}+\frac {a (e+f x)^3}{d \left (a^2+b^2\right )} \]
[In]
[Out]
Rule 2221
Rule 2296
Rule 2320
Rule 2611
Rule 3403
Rule 3799
Rule 4265
Rule 4269
Rule 5559
Rule 5692
Rule 6724
Rule 6744
Rule 6874
Rubi steps \begin{align*} \text {integral}& = \frac {\int (e+f x)^3 \text {sech}^2(c+d x) (a-b \sinh (c+d x)) \, dx}{a^2+b^2}+\frac {b^2 \int \frac {(e+f x)^3}{a+b \sinh (c+d x)} \, dx}{a^2+b^2} \\ & = \frac {\int \left (a (e+f x)^3 \text {sech}^2(c+d x)-b (e+f x)^3 \text {sech}(c+d x) \tanh (c+d x)\right ) \, dx}{a^2+b^2}+\frac {\left (2 b^2\right ) \int \frac {e^{c+d x} (e+f x)^3}{-b+2 a e^{c+d x}+b e^{2 (c+d x)}} \, dx}{a^2+b^2} \\ & = \frac {\left (2 b^3\right ) \int \frac {e^{c+d x} (e+f x)^3}{2 a-2 \sqrt {a^2+b^2}+2 b e^{c+d x}} \, dx}{\left (a^2+b^2\right )^{3/2}}-\frac {\left (2 b^3\right ) \int \frac {e^{c+d x} (e+f x)^3}{2 a+2 \sqrt {a^2+b^2}+2 b e^{c+d x}} \, dx}{\left (a^2+b^2\right )^{3/2}}+\frac {a \int (e+f x)^3 \text {sech}^2(c+d x) \, dx}{a^2+b^2}-\frac {b \int (e+f x)^3 \text {sech}(c+d x) \tanh (c+d x) \, dx}{a^2+b^2} \\ & = \frac {b^2 (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d}-\frac {b^2 (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d}+\frac {b (e+f x)^3 \text {sech}(c+d x)}{\left (a^2+b^2\right ) d}+\frac {a (e+f x)^3 \tanh (c+d x)}{\left (a^2+b^2\right ) d}-\frac {\left (3 b^2 f\right ) \int (e+f x)^2 \log \left (1+\frac {2 b e^{c+d x}}{2 a-2 \sqrt {a^2+b^2}}\right ) \, dx}{\left (a^2+b^2\right )^{3/2} d}+\frac {\left (3 b^2 f\right ) \int (e+f x)^2 \log \left (1+\frac {2 b e^{c+d x}}{2 a+2 \sqrt {a^2+b^2}}\right ) \, dx}{\left (a^2+b^2\right )^{3/2} d}-\frac {(3 a f) \int (e+f x)^2 \tanh (c+d x) \, dx}{\left (a^2+b^2\right ) d}-\frac {(3 b f) \int (e+f x)^2 \text {sech}(c+d x) \, dx}{\left (a^2+b^2\right ) d} \\ & = \frac {a (e+f x)^3}{\left (a^2+b^2\right ) d}-\frac {6 b f (e+f x)^2 \arctan \left (e^{c+d x}\right )}{\left (a^2+b^2\right ) d^2}+\frac {b^2 (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d}-\frac {b^2 (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d}+\frac {3 b^2 f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d^2}-\frac {3 b^2 f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d^2}+\frac {b (e+f x)^3 \text {sech}(c+d x)}{\left (a^2+b^2\right ) d}+\frac {a (e+f x)^3 \tanh (c+d x)}{\left (a^2+b^2\right ) d}-\frac {(6 a f) \int \frac {e^{2 (c+d x)} (e+f x)^2}{1+e^{2 (c+d x)}} \, dx}{\left (a^2+b^2\right ) d}-\frac {\left (6 b^2 f^2\right ) \int (e+f x) \operatorname {PolyLog}\left (2,-\frac {2 b e^{c+d x}}{2 a-2 \sqrt {a^2+b^2}}\right ) \, dx}{\left (a^2+b^2\right )^{3/2} d^2}+\frac {\left (6 b^2 f^2\right ) \int (e+f x) \operatorname {PolyLog}\left (2,-\frac {2 b e^{c+d x}}{2 a+2 \sqrt {a^2+b^2}}\right ) \, dx}{\left (a^2+b^2\right )^{3/2} d^2}+\frac {\left (6 i b f^2\right ) \int (e+f x) \log \left (1-i e^{c+d x}\right ) \, dx}{\left (a^2+b^2\right ) d^2}-\frac {\left (6 i b f^2\right ) \int (e+f x) \log \left (1+i e^{c+d x}\right ) \, dx}{\left (a^2+b^2\right ) d^2} \\ & = \frac {a (e+f x)^3}{\left (a^2+b^2\right ) d}-\frac {6 b f (e+f x)^2 \arctan \left (e^{c+d x}\right )}{\left (a^2+b^2\right ) d^2}+\frac {b^2 (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d}-\frac {b^2 (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d}-\frac {3 a f (e+f x)^2 \log \left (1+e^{2 (c+d x)}\right )}{\left (a^2+b^2\right ) d^2}+\frac {6 i b f^2 (e+f x) \operatorname {PolyLog}\left (2,-i e^{c+d x}\right )}{\left (a^2+b^2\right ) d^3}-\frac {6 i b f^2 (e+f x) \operatorname {PolyLog}\left (2,i e^{c+d x}\right )}{\left (a^2+b^2\right ) d^3}+\frac {3 b^2 f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d^2}-\frac {3 b^2 f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d^2}-\frac {6 b^2 f^2 (e+f x) \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d^3}+\frac {6 b^2 f^2 (e+f x) \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d^3}+\frac {b (e+f x)^3 \text {sech}(c+d x)}{\left (a^2+b^2\right ) d}+\frac {a (e+f x)^3 \tanh (c+d x)}{\left (a^2+b^2\right ) d}+\frac {\left (6 a f^2\right ) \int (e+f x) \log \left (1+e^{2 (c+d x)}\right ) \, dx}{\left (a^2+b^2\right ) d^2}+\frac {\left (6 b^2 f^3\right ) \int \operatorname {PolyLog}\left (3,-\frac {2 b e^{c+d x}}{2 a-2 \sqrt {a^2+b^2}}\right ) \, dx}{\left (a^2+b^2\right )^{3/2} d^3}-\frac {\left (6 b^2 f^3\right ) \int \operatorname {PolyLog}\left (3,-\frac {2 b e^{c+d x}}{2 a+2 \sqrt {a^2+b^2}}\right ) \, dx}{\left (a^2+b^2\right )^{3/2} d^3}-\frac {\left (6 i b f^3\right ) \int \operatorname {PolyLog}\left (2,-i e^{c+d x}\right ) \, dx}{\left (a^2+b^2\right ) d^3}+\frac {\left (6 i b f^3\right ) \int \operatorname {PolyLog}\left (2,i e^{c+d x}\right ) \, dx}{\left (a^2+b^2\right ) d^3} \\ & = \frac {a (e+f x)^3}{\left (a^2+b^2\right ) d}-\frac {6 b f (e+f x)^2 \arctan \left (e^{c+d x}\right )}{\left (a^2+b^2\right ) d^2}+\frac {b^2 (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d}-\frac {b^2 (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d}-\frac {3 a f (e+f x)^2 \log \left (1+e^{2 (c+d x)}\right )}{\left (a^2+b^2\right ) d^2}+\frac {6 i b f^2 (e+f x) \operatorname {PolyLog}\left (2,-i e^{c+d x}\right )}{\left (a^2+b^2\right ) d^3}-\frac {6 i b f^2 (e+f x) \operatorname {PolyLog}\left (2,i e^{c+d x}\right )}{\left (a^2+b^2\right ) d^3}+\frac {3 b^2 f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d^2}-\frac {3 b^2 f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d^2}-\frac {3 a f^2 (e+f x) \operatorname {PolyLog}\left (2,-e^{2 (c+d x)}\right )}{\left (a^2+b^2\right ) d^3}-\frac {6 b^2 f^2 (e+f x) \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d^3}+\frac {6 b^2 f^2 (e+f x) \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d^3}+\frac {b (e+f x)^3 \text {sech}(c+d x)}{\left (a^2+b^2\right ) d}+\frac {a (e+f x)^3 \tanh (c+d x)}{\left (a^2+b^2\right ) d}+\frac {\left (6 b^2 f^3\right ) \text {Subst}\left (\int \frac {\operatorname {PolyLog}\left (3,\frac {b x}{-a+\sqrt {a^2+b^2}}\right )}{x} \, dx,x,e^{c+d x}\right )}{\left (a^2+b^2\right )^{3/2} d^4}-\frac {\left (6 b^2 f^3\right ) \text {Subst}\left (\int \frac {\operatorname {PolyLog}\left (3,-\frac {b x}{a+\sqrt {a^2+b^2}}\right )}{x} \, dx,x,e^{c+d x}\right )}{\left (a^2+b^2\right )^{3/2} d^4}-\frac {\left (6 i b f^3\right ) \text {Subst}\left (\int \frac {\operatorname {PolyLog}(2,-i x)}{x} \, dx,x,e^{c+d x}\right )}{\left (a^2+b^2\right ) d^4}+\frac {\left (6 i b f^3\right ) \text {Subst}\left (\int \frac {\operatorname {PolyLog}(2,i x)}{x} \, dx,x,e^{c+d x}\right )}{\left (a^2+b^2\right ) d^4}+\frac {\left (3 a f^3\right ) \int \operatorname {PolyLog}\left (2,-e^{2 (c+d x)}\right ) \, dx}{\left (a^2+b^2\right ) d^3} \\ & = \frac {a (e+f x)^3}{\left (a^2+b^2\right ) d}-\frac {6 b f (e+f x)^2 \arctan \left (e^{c+d x}\right )}{\left (a^2+b^2\right ) d^2}+\frac {b^2 (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d}-\frac {b^2 (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d}-\frac {3 a f (e+f x)^2 \log \left (1+e^{2 (c+d x)}\right )}{\left (a^2+b^2\right ) d^2}+\frac {6 i b f^2 (e+f x) \operatorname {PolyLog}\left (2,-i e^{c+d x}\right )}{\left (a^2+b^2\right ) d^3}-\frac {6 i b f^2 (e+f x) \operatorname {PolyLog}\left (2,i e^{c+d x}\right )}{\left (a^2+b^2\right ) d^3}+\frac {3 b^2 f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d^2}-\frac {3 b^2 f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d^2}-\frac {3 a f^2 (e+f x) \operatorname {PolyLog}\left (2,-e^{2 (c+d x)}\right )}{\left (a^2+b^2\right ) d^3}-\frac {6 i b f^3 \operatorname {PolyLog}\left (3,-i e^{c+d x}\right )}{\left (a^2+b^2\right ) d^4}+\frac {6 i b f^3 \operatorname {PolyLog}\left (3,i e^{c+d x}\right )}{\left (a^2+b^2\right ) d^4}-\frac {6 b^2 f^2 (e+f x) \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d^3}+\frac {6 b^2 f^2 (e+f x) \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d^3}+\frac {6 b^2 f^3 \operatorname {PolyLog}\left (4,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d^4}-\frac {6 b^2 f^3 \operatorname {PolyLog}\left (4,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d^4}+\frac {b (e+f x)^3 \text {sech}(c+d x)}{\left (a^2+b^2\right ) d}+\frac {a (e+f x)^3 \tanh (c+d x)}{\left (a^2+b^2\right ) d}+\frac {\left (3 a f^3\right ) \text {Subst}\left (\int \frac {\operatorname {PolyLog}(2,-x)}{x} \, dx,x,e^{2 (c+d x)}\right )}{2 \left (a^2+b^2\right ) d^4} \\ & = \frac {a (e+f x)^3}{\left (a^2+b^2\right ) d}-\frac {6 b f (e+f x)^2 \arctan \left (e^{c+d x}\right )}{\left (a^2+b^2\right ) d^2}+\frac {b^2 (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d}-\frac {b^2 (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d}-\frac {3 a f (e+f x)^2 \log \left (1+e^{2 (c+d x)}\right )}{\left (a^2+b^2\right ) d^2}+\frac {6 i b f^2 (e+f x) \operatorname {PolyLog}\left (2,-i e^{c+d x}\right )}{\left (a^2+b^2\right ) d^3}-\frac {6 i b f^2 (e+f x) \operatorname {PolyLog}\left (2,i e^{c+d x}\right )}{\left (a^2+b^2\right ) d^3}+\frac {3 b^2 f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d^2}-\frac {3 b^2 f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d^2}-\frac {3 a f^2 (e+f x) \operatorname {PolyLog}\left (2,-e^{2 (c+d x)}\right )}{\left (a^2+b^2\right ) d^3}-\frac {6 i b f^3 \operatorname {PolyLog}\left (3,-i e^{c+d x}\right )}{\left (a^2+b^2\right ) d^4}+\frac {6 i b f^3 \operatorname {PolyLog}\left (3,i e^{c+d x}\right )}{\left (a^2+b^2\right ) d^4}-\frac {6 b^2 f^2 (e+f x) \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d^3}+\frac {6 b^2 f^2 (e+f x) \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d^3}+\frac {3 a f^3 \operatorname {PolyLog}\left (3,-e^{2 (c+d x)}\right )}{2 \left (a^2+b^2\right ) d^4}+\frac {6 b^2 f^3 \operatorname {PolyLog}\left (4,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d^4}-\frac {6 b^2 f^3 \operatorname {PolyLog}\left (4,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{\left (a^2+b^2\right )^{3/2} d^4}+\frac {b (e+f x)^3 \text {sech}(c+d x)}{\left (a^2+b^2\right ) d}+\frac {a (e+f x)^3 \tanh (c+d x)}{\left (a^2+b^2\right ) d} \\ \end{align*}
Time = 8.02 (sec) , antiderivative size = 1072, normalized size of antiderivative = 1.37 \[ \int \frac {(e+f x)^3 \text {sech}^2(c+d x)}{a+b \sinh (c+d x)} \, dx=\frac {-\frac {f \left (-12 a d^3 e^2 e^{2 c} x+12 a d^3 e^2 \left (1+e^{2 c}\right ) x+12 a d^3 e f x^2+4 a d^3 f^2 x^3+12 b d^2 e^2 \left (1+e^{2 c}\right ) \arctan \left (e^{c+d x}\right )-6 a d^2 e^2 \left (1+e^{2 c}\right ) \left (2 d x-\log \left (1+e^{2 (c+d x)}\right )\right )+12 i b d e \left (1+e^{2 c}\right ) f \left (d x \left (\log \left (1-i e^{c+d x}\right )-\log \left (1+i e^{c+d x}\right )\right )-\operatorname {PolyLog}\left (2,-i e^{c+d x}\right )+\operatorname {PolyLog}\left (2,i e^{c+d x}\right )\right )-6 a d e \left (1+e^{2 c}\right ) f \left (2 d x \left (d x-\log \left (1+e^{2 (c+d x)}\right )\right )-\operatorname {PolyLog}\left (2,-e^{2 (c+d x)}\right )\right )+6 i b \left (1+e^{2 c}\right ) f^2 \left (d^2 x^2 \log \left (1-i e^{c+d x}\right )-d^2 x^2 \log \left (1+i e^{c+d x}\right )-2 d x \operatorname {PolyLog}\left (2,-i e^{c+d x}\right )+2 d x \operatorname {PolyLog}\left (2,i e^{c+d x}\right )+2 \operatorname {PolyLog}\left (3,-i e^{c+d x}\right )-2 \operatorname {PolyLog}\left (3,i e^{c+d x}\right )\right )-a \left (1+e^{2 c}\right ) f^2 \left (2 d^2 x^2 \left (2 d x-3 \log \left (1+e^{2 (c+d x)}\right )\right )-6 d x \operatorname {PolyLog}\left (2,-e^{2 (c+d x)}\right )+3 \operatorname {PolyLog}\left (3,-e^{2 (c+d x)}\right )\right )\right )}{\left (a^2+b^2\right ) \left (1+e^{2 c}\right )}+\frac {2 b^2 \left (-2 d^3 e^3 \text {arctanh}\left (\frac {a+b e^{c+d x}}{\sqrt {a^2+b^2}}\right )+3 d^3 e^2 f x \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )+3 d^3 e f^2 x^2 \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )+d^3 f^3 x^3 \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )-3 d^3 e^2 f x \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )-3 d^3 e f^2 x^2 \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )-d^3 f^3 x^3 \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )+3 d^2 f (e+f x)^2 \operatorname {PolyLog}\left (2,\frac {b e^{c+d x}}{-a+\sqrt {a^2+b^2}}\right )-3 d^2 f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )-6 d e f^2 \operatorname {PolyLog}\left (3,\frac {b e^{c+d x}}{-a+\sqrt {a^2+b^2}}\right )-6 d f^3 x \operatorname {PolyLog}\left (3,\frac {b e^{c+d x}}{-a+\sqrt {a^2+b^2}}\right )+6 d e f^2 \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )+6 d f^3 x \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )+6 f^3 \operatorname {PolyLog}\left (4,\frac {b e^{c+d x}}{-a+\sqrt {a^2+b^2}}\right )-6 f^3 \operatorname {PolyLog}\left (4,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )\right )}{\left (a^2+b^2\right )^{3/2}}+\frac {2 d^3 (e+f x)^3 \text {sech}(c+d x) (b+a \text {sech}(c) \sinh (d x))}{a^2+b^2}}{2 d^4} \]
[In]
[Out]
\[\int \frac {\left (f x +e \right )^{3} \operatorname {sech}\left (d x +c \right )^{2}}{a +b \sinh \left (d x +c \right )}d x\]
[In]
[Out]
Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 6367 vs. \(2 (712) = 1424\).
Time = 0.38 (sec) , antiderivative size = 6367, normalized size of antiderivative = 8.16 \[ \int \frac {(e+f x)^3 \text {sech}^2(c+d x)}{a+b \sinh (c+d x)} \, dx=\text {Too large to display} \]
[In]
[Out]
\[ \int \frac {(e+f x)^3 \text {sech}^2(c+d x)}{a+b \sinh (c+d x)} \, dx=\int \frac {\left (e + f x\right )^{3} \operatorname {sech}^{2}{\left (c + d x \right )}}{a + b \sinh {\left (c + d x \right )}}\, dx \]
[In]
[Out]
\[ \int \frac {(e+f x)^3 \text {sech}^2(c+d x)}{a+b \sinh (c+d x)} \, dx=\int { \frac {{\left (f x + e\right )}^{3} \operatorname {sech}\left (d x + c\right )^{2}}{b \sinh \left (d x + c\right ) + a} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {(e+f x)^3 \text {sech}^2(c+d x)}{a+b \sinh (c+d x)} \, dx=\text {Timed out} \]
[In]
[Out]
Timed out. \[ \int \frac {(e+f x)^3 \text {sech}^2(c+d x)}{a+b \sinh (c+d x)} \, dx=\int \frac {{\left (e+f\,x\right )}^3}{{\mathrm {cosh}\left (c+d\,x\right )}^2\,\left (a+b\,\mathrm {sinh}\left (c+d\,x\right )\right )} \,d x \]
[In]
[Out]